what does substitution mean in maths